﻿using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Jobs;
using BenchmarkDotNet.Toolchains.InProcess.Emit;

namespace SearchText
{
    public class MyConfig : ManualConfig
    {
        public MyConfig()
        {
            AddJob(Job.MediumRun
                .WithLaunchCount(1)
                .WithToolchain(InProcessEmitToolchain.Instance) // 使用InProcessEmitToolchain
                .WithId("InProcess"));
        }
    }
}
